<%@ tag language="java" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/views/include/taglib.jsp"%>
<%@ attribute name="content" type="java.lang.String" required="true" description="消息内容"%>
<%@ attribute name="type" type="java.lang.String" description="消息类型：info、success、warning、error、loading"%>
<c:if test="${not empty content}">
	<%--type 类型可根据实际情况，使用layer--%>
	<script>
        var layer = layui.layer;
        layer.msg('${content}',{anim: 1});
	</script>
</c:if>